import { BaseService, Service, Permission } from '@/cool';

@Service('crm/sign')
export default class extends BaseService {
	@Permission('copy')
	copy(params) {
		return this.request({
			url: '/copy',
			method: 'POST',
			data: {
				...params
			}
		});
	}
	@Permission('statistics')
	statistics(params) {
		return this.request({
			url: '/statistics',
			method: 'GET',
			params: {
				...params
			}
		});
	}
}
